//
//  ReceiveTableViewCell.h
//  leo
//
//  Created by 常艳 on 15/10/4.
//  Copyright (c) 2015年 mdx. All rights reserved.
//

#import <UIKit/UIKit.h>
#import <AVFoundation/AVFoundation.h>
#import <CoreAudio/CoreAudioTypes.h>
#define receive_tag @"ReceiveTableViewCell------------------------"
@interface ReceiveTableViewCell : UITableViewCell<AVAudioRecorderDelegate,AVAudioPlayerDelegate,AVAudioSessionDelegate>
@property (weak, nonatomic) IBOutlet UIImageView *headImg;
@property (weak, nonatomic) IBOutlet UIImageView *voiceImg;
@property (weak, nonatomic) IBOutlet UILabel *durationLable;
@property (weak, nonatomic) IBOutlet UILabel *timeLable;
@property (weak, nonatomic) IBOutlet UIImageView *unreadImg;
@property (weak, nonatomic) IBOutlet UILabel *nameLable;
@property (weak, nonatomic) IBOutlet UIButton *voiceBtn;

@property(nonatomic,strong) AVAudioPlayer *player;
@property(nonatomic,strong) NSString *recordPath;
@property(nonatomic) BOOL is_play;
@property(nonatomic,strong) NSString *chatId;
@property(nonatomic,assign)  BOOL isRead;//1已读
-(void)stop;
-(void)initUI;
@end
